import 'package:json_annotation/json_annotation.dart';
import 'package:xindong/common/xindong_app_info.dart';

part 'xindong_register_class.g.dart';

@JsonSerializable()
class XinDongRegisterClass {
  String phone = ''; // 手机号
  String code = ''; // 验证码
  String sex = ""; // 性别
  String name = ''; // 昵称
  String head = ''; // 头像
  String birthday = ''; // 生日

  String oaid = ''; // 安卓ID
  String device_id = ""; // 设备ID

  String send_code = ""; // 邀请码

  XinDongRegisterClass();

  factory XinDongRegisterClass.fromJson(Map<String, dynamic> json) => _$XinDongRegisterClassFromJson(json);

  Map<String, dynamic> toJson() => _$XinDongRegisterClassToJson(this);
}
